<%@page import="com.muk.meis.MEISConstance"%>
<%@page import="com.muk.meis.model.bean.UserProfile"%>
<%@page import="com.muk.meis.model.service.SchoolService"%>
<%@page import="com.muk.meis.model.bean.SchoolInfo"%>
<%@page import="com.muk.meis.model.service.SchoolInfoService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MEIS</title>
<link href="layout.css" rel="stylesheet" type="text/css">
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../js/flot/excanvas.min.js"></script><![endif]-->
<link href="../css/dropdown/themes/default/helper.css" media="screen" rel="stylesheet" type="text/css" />
<!-- Beginning of compulsory code below -->

<link href="../css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="../css/dropdown/themes/default/default.css" media="screen" rel="stylesheet" type="text/css" />
<link type="text/css" href="../css/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<!--[if lt IE 7]>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
<![endif]-->

<!-- / END -->
<script language="javascript" type="text/javascript"
	src="../js/flot/jquery-1.6.2.js"></script>
<script language="javascript" type="text/javascript"
	src="../js/flot/jquery.flot.js"></script>
<style type="text/css">
.mesi_header_m {
	color: #F00;
}
</style>
</head>
<body>
<form action="<%=request.getContextPath()+"/QuestionController/create"%>">
<%
  String perCode = request.getParameter("percode");
  UserProfile userPassLogin = (UserProfile)session.getAttribute(MEISConstance.USER_PASS_LOGIN);
%>
<input type="hidden" name="percode" value="<%=perCode%>"/>
<% if(userPassLogin != null) { %>
      <jsp:include page="../menu_admin.jsp"></jsp:include>
<%} else { %>
       <div style="position:relative;background-image: url('../image/header_background.gif'); width:1000px; height:140px; color: #333;font-size:25px;">
          <div style="width:800px; padding-left:50px;padding-top:50px;"><span class="mesi_header_m">M</span>ukdahan education information system</div>
       </div>
<%} %>
	   <div style="position:relative;padding-top:60px;padding-left:150px;">
	      <div class="ui-widget-header" style="width: 200px;height: 30px;">
	         <span style="position: relative;top: 6px;left: 6px;">คำถาม</span>
	      </div>
	      <div style="position: relative;padding-top: 10px;"><input type="text" name="question" size="30"/></div>
	      <div style="position: relative;padding-top: 10px;">
	      	<input type="submit" class="ui-button" style="height: 28px;" name="save" value="บันทึก"/>
	      </div>
	   </div>
</form>
</body>
</html>